package constants;

public class MapConstants {

  public static boolean isStartingEventMap(final int mapid) {
    switch (mapid) {
      case 109010000:
      case 109020001:
      case 109030001:
      case 109030101:
      case 109030201:
      case 109030301:
      case 109030401:
      case 109040000:
      case 109060001:
      case 109060002:
      case 109060003:
      case 109060004:
      case 109060005:
      case 109060006:
      case 109080000:
      case 109080001:
      case 109080002:
      case 109080003:
        return true;
    }
    return false;
  }

  public static boolean isEventMap(final int mapid) {
    return mapid >= 109010000 && mapid < 109050000 || mapid > 109050001 && mapid < 109090000;
  }

  public static boolean isStorylineMap(final int mapid) {
    if (mapid / 1000000 == 502 || mapid == 970030020) {
      return true;
    }
    return false;
  }
}
